<?php
/*echo 'This is view of Paginator';
echo $this->currentUrl;*/

$linkStart = $this->currentUrl . '/page/' . $this->first;



$strPage = '';
foreach ( $this->pagesInRange as $key ) {
	if ($this->current == $key) {
		$strPage .= '<span class="active">' . $key . '</span>';
	} else {
		$linkPage = $this->currentUrl . '/page/' . $key;
		//$strPage .= '<a href="' . $linkPage . '">' . $key . '</a>';
		$strPage .= '<span class="link"><a href="' . $linkPage . '">' . $key . '</a></span> ';
	}
}

$page = 'Page ' . $this->current . ' Of ' . $this->last;
?>
<div id="paging">
	<div style="float: right;">
	<span class="page-text">Trang:</span> 
	<?php echo $strPage;?>
</div>
<div class="clr"></div>
</div>